package gwtappcontainer.server.apis.admin;


import gwtappcontainer.shared.apis.admin.RoleProp;

import com.googlecode.objectify.annotation.Cache;
import com.googlecode.objectify.annotation.Entity;
import com.googlecode.objectify.annotation.Id;

@Entity @Cache
class RoleEntity {
	@Id Long id;
	String name;
	
	RoleProp toProp() {
		RoleProp prop = new RoleProp();
		prop.id = id;
		prop.name = name;
		
		return prop;
	}
}
